HTMLify
style.css
Views: 15 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | @import url("https://fonts.googleapis.com/css?family=Poppins"); * { margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins"; font-size: 10px; } .container { width: 100%; min-height: 100vh; display: flex; justify-content: center; align-items: center; background: linear-gradient(45deg, #006bc6, #1ecafc); } .loader { position: relative; display: flex; justify-content: center; align-items: center; } .loader h2 { position: absolute; color: #fff; font-size: 2.5rem; font-weight: 500; animation: animateText 5s ease-in-out infinite; } .loader .drops { position: relative; width: 300px; height: 300px; display: flex; justify-content: center; align-items: center; filter: url(#Gooey); } .loader .drops span { position: absolute; left: 0; transform-origin: 150px; width: 100px; height: 100px; background: #fff; border-radius: 50%; animation: animateDrops 5s ease-in-out infinite; animation-delay: calc(0.15s * var(--i)); } @keyframes animateDrops { 0% { width: 100px; height: 100px; transform: rotate(0deg) translateX(120px); } 40%, 70% { width: 40px; height: 40px; transform: rotate(calc(360deg / 8 * var(--i))); box-shadow: 0 0 0 10px #fff; } 90%, 100% { width: 100px; height: 100px; transform: rotate(0deg) translateX(120px); } } @keyframes animateText { 0% { opacity: 0; } 40%, 70% { opacity: 1; } 90%, 100% { opacity: 0; } } svg { width: 0; height: 0; } |